const adminRouters = [
    {
        path: '/',
        component: resolve => require(['../layout/index.vue'], resolve),
        redirect: '/product/mine/task',
        children: [
            // 产品认证
            {
                path: '/product/certification/person',
                title: "人员行程",
                component: resolve => require(['../views/product/certificationOverview/personTrip/index.vue'], resolve),
            },
            {
                path: '/product/certification/search',
                title: "进度查询",
                component: resolve => require(['../views/product/certificationOverview/stepSearch/index.vue'], resolve),
            },
            {
                path: '/product/company/registration',
                title: "企业登记",
                component: resolve => require(['../views/product/businessManage/companyRegister/index.vue'], resolve),
            },
            {
                path: '/product/company/enterprise',
                title: "企业查询",
                component: resolve => require(['../views/product/businessManage/companySearch/index.vue'], resolve),
            },
            {
                path: '/product/company/qualification',
                title: "资质证书到期",
                component: resolve => require(['../views/product/businessManage/certificateExpiration/index.vue'], resolve),
            },
            {
                path: '/product/apply/unit',
                title: "申请单元",
                component: resolve => require(['../views/product/acceptanceStage/applicantUnit/index.vue'], resolve),
            },
            {
                path: '/product/apply/unit/detail',
                title: "申请单元编辑",
                component: resolve => require(['../views/product/acceptanceStage/applicantUnit/detail.vue'], resolve),
            },
            {
                path: '/product/apply/review',
                title: "申请评审",
                component: resolve => require(['../views/product/acceptanceStage/applicationReview/index.vue'], resolve),
            },
            {
                path: '/product/apply/change',
                title: "变更及项目",
                component: resolve => require(['../views/product/acceptanceStage/changeAndProject/index.vue'], resolve),
            },
            {
                path: '/product/apply/change/detail',
                title: "变更及项目详情",
                component: resolve => require(['../views/product/acceptanceStage/changeAndProject/detail.vue'], resolve),
            },
            {
                path: '/product/arrangements/check',
                title: "检查安排",
                component: resolve => require(['../views/product/scheduleStage/checkSchedule/index.vue'], resolve),
            },
            {
                path: '/product/arrangements/check/detail',
                title: "检查安排详情",
                component: resolve => require(['../views/product/scheduleStage/checkSchedule/detail.vue'], resolve),
            },
            {
                path: '/product/arrangements/search',
                title: "派人查询",
                component: resolve => require(['../views/product/scheduleStage/checkSendSearch/index.vue'], resolve),

            },
            {
                path: '/product/mine/task',
                title: "我的产品审查任务",
                component: resolve => require(['../views/product/mySystem/productReview/index.vue'], resolve),
            },
            {
                path: '/product/mine/task/detail',
                title: "审查任务详情",
                component: resolve => require(['../views/product/mySystem/productReview/detail.vue'], resolve),
            },
            {
                path: '/product/mine/pwd',
                title: "修改密码",
                component: resolve => require(['../views/product/mySystem/changePassword/index.vue'], resolve),
            },
            {
                path: '/product/test/arrange',
                title: "检验安排",
                component: resolve => require(['../views/product/inspectionStage/inspectSchedule/index.vue'], resolve),
            },
            {
                path: '/product/test/arrange/detail',
                title: "检验安排详情",
                component: resolve => require(['../views/product/inspectionStage/inspectSchedule/detail.vue'], resolve),
            },
            {
                path: '/product/test/result',
                title: "检验结果",
                component: resolve => require(['../views/product/inspectionStage/inspectResult/index.vue'], resolve),
            },
            {
                path: '/product/test/result/detail',
                title: "检验结果详情",
                component: resolve => require(['../views/product/inspectionStage/inspectResult/detail.vue'], resolve),
            },
            {
                path: '/product/assessManage/recycle',
                title: "产品资料收回",
                component: resolve => require(['../views/product/manageStage/dataRecovery/index.vue'], resolve),
            },
            {
                path: '/product/assessManage/review',
                title: "产品评定管理",
                component: resolve => require(['../views/product/manageStage/assessManage/index.vue'], resolve),
            },
            {
                path: '/product/assessManage/review/detail',
                title: "产品评定管理",
                component: resolve => require(['../views/product/manageStage/assessManage/detail.vue'], resolve),
            },
            {
                path: '/product/assessManage/manager',
                title: "总经理审批",
                component: resolve => require(['../views/product/manageStage/managerApproval/index.vue'], resolve),
            },
            {
                path: '/product/book/search',
                title: "证书查询",
                component: resolve => require(['../views/product/certificateManage/certificateSearch/index.vue'], resolve),
            },
            {
                path: '/product/book/search/detail',
                title: "证书详情",
                component: resolve => require(['../views/product/certificateManage/certificateSearch/detail.vue'], resolve),
            },
            {
                path: '/product/maintain/system',
                title: "项目维护",
                component: resolve => require(['../views/product/businessMaintenance/projectMaintenance/index.vue'], resolve),
            },
            {
                path: '/product/maintain/system/detail',
                title: "变更及项目详情",
                component: resolve => require(['../views/product/businessMaintenance/projectMaintenance/detail.vue'], resolve),
            },
            {
                path: '/product/changeMange/system',
                title: "产品证书变更",
                component: resolve => require(['../views/product/changeManage/certificateChange/index.vue'], resolve),
            },
            {
                path: '/product/changeMange/system/detail',
                title: "产品证书变更查询",
                component: resolve => require(['../views/product/changeManage/certificateChange/detail.vue'], resolve),
          },
            {
                path: '/product/changeMange/search',
                title: "产品证书变更查询",
                component: resolve => require(['../views/product/changeManage/certificateChangeSearch/index.vue'], resolve),
            },
            {
                path: '/system',
                name: "体系服务",
                component: resolve => require(['../views/system/index.vue'], resolve),
            },
            {
                path: '/gap',
                name: "有机GAP",
                component: resolve => require(['../views/gap/index.vue'], resolve),
            },
            {
                path: '/hr/registration',
                name: "人员登记",
                component: resolve => require(['../views/hr/HrRegistration.vue'], resolve),
            },
            {
                path: '/hr/query',
                name: "人员查询",
                component: resolve => require(['../views/hr/HrQuery.vue'], resolve),
            },
            {
                path: '/hr/qualification',
                name: "注册资格登记",
                component: resolve => require(['../views/hr/HrQualificationRecord.vue'], resolve),
            },
            {
                path: '/hr/qualification/detail',
                name: "注册资格登记详情",
                component: resolve => require(['../views/hr/HrQualificationDetail.vue'], resolve),
            },
            {
                path: '/hr/qualification/query',
                name: "注册资格查询",
                component: resolve => require(['../views/hr/HrQualificationQuery.vue'], resolve),
            },
            {
                path: '/hr/business',
                name: "业务代码登记",
                component: resolve => require(['../views/hr/HrBusiness.vue'], resolve),
            },
            {
                path: '/hr/business/query',
                name: "业务代码查询",
                component: resolve => require(['../views/hr/HrBusinessQuery.vue'], resolve),
            },
            {
                path: '/hr/experience',
                name: "人员专业经历",
                component: resolve => require(['../views/hr/HrPersonnelExperience.vue'], resolve),
            },
            {
                path: '/hr/annual',
                name: "资格年度确认",
                component: resolve => require(['../views/hr/HrQualificationAnnual.vue'], resolve),
            },
            {
                path: '/hr/absence',
                name: "请假登记",
                component: resolve => require(['../views/hr/HrAbsence.vue'], resolve),
            },
            {
                path: '/hr/absence/query',
                name: "请假查询",
                component: resolve => require(['../views/hr/HrAbsenceQuery.vue'], resolve),
            },
            {
                path: '/hr/train',
                name: "培训登记",
                component: resolve => require(['../views/hr/HrTrain.vue'], resolve),
            },
            {
                path: '/hr/train/query',
                name: "培训查询",
                component: resolve => require(['../views/hr/HrTrainQuery.vue'], resolve),
            },
            // 库房
            {
                path: '/storehouse/inventory',
                name: "库房盘点",
                component: resolve => require(['../views/storehouse/inventory.vue'], resolve),
            },
            {
                path: '/storehouse/inbound',
                name: "入库查询",
                component: resolve => require(['../views/storehouse/inbound/query.vue'], resolve),
            },
            {
                path: '/storehouse/outbound',
                name: "出库查询",
                component: resolve => require(['../views/storehouse/outbound/query.vue'], resolve),
            },
            // 合同
            {
                path: '/contract/record',
                title: "合同登记",
                component: resolve => require(['../views/contract/record.vue'], resolve),
            },
            {
                path: '/contract/search',
                title: "合同查询",
                component: resolve => require(['../views/contract/search.vue'], resolve),
            },
            // 财务
            {
                path: '/finance/record',
                name: "财务登记",
                component: resolve => require(['../views/finance/record.vue'], resolve),
            },
            {
                path: '/finance/search',
                name: "财务查询",
                component: resolve => require(['../views/finance/search.vue'], resolve),
            },
            // 快递
            {
                path: '/delivery/record',
                title: "快递登记",
                component: resolve => require(['../views/delivery/record.vue'], resolve),
            },
            {
                path: '/delivery/search',
                title: "快递查询",
                component: resolve => require(['../views/delivery/search.vue'], resolve),
            },
            // 领导数据看板
            {
                path: '/dashboard/example',
                name: "样品数据统计",
                component: resolve => require(['../views/dashboard/example.vue'], resolve),
            },
            {
                path: '/dashboard/customer',
                name: "客户分布",
                component: resolve => require(['../views/dashboard/customer.vue'], resolve),
            },
            {
                path: '/dashboard/income',
                name: "与去年收入对比",
                component: resolve => require(['../views/dashboard/income.vue'], resolve),
            },
            {
                path: '/dashboard/important',
                name: "重要客户名单",
                component: resolve => require(['../views/dashboard/important.vue'], resolve),
            },
        ],
    },
];

export default adminRouters;